package com.lingyu.jsjx.mapper;

import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lingyu.jsjx.domain.TeachingReflection;
import com.lingyu.jsjx.domain.dto.TeachingReflectionDTO;
import org.apache.ibatis.annotations.Param;

/**
 * 教学反思Mapper接口
 * 
 * @author ruoyi
 * @date 2025-07-31
 */
public interface TeachingReflectionMapper  extends BaseMapper<TeachingReflection>
{
    /**
     * 查询教学反思
     * 
     * @param reflectionId 教学反思主键
     * @return 教学反思
     */
    public TeachingReflection selectTeachingReflectionByReflectionId(Long reflectionId);

    /**
     * 查询教学反思列表
     * 
     * @param teachingReflectionDTO 教学反思
     * @return 教学反思集合
     */
    public List<TeachingReflection> selectTeachingReflectionList(TeachingReflectionDTO teachingReflectionDTO);

    /**
     * 新增教学反思
     * 
     * @param teachingReflection 教学反思
     * @return 结果
     */
    public int insertTeachingReflection(TeachingReflection teachingReflection);

    /**
     * 修改教学反思
     * 
     * @param teachingReflection 教学反思
     * @return 结果
     */
    public int updateTeachingReflection(TeachingReflection teachingReflection);

    /**
     * 删除教学反思
     * 
     * @param reflectionId 教学反思主键
     * @return 结果
     */
    public int deleteTeachingReflectionByReflectionId(Long reflectionId);

    /**
     * 批量删除教学反思
     * 
     * @param reflectionIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTeachingReflectionByReflectionIds(Long[] reflectionIds);
}
